input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
input[type="date"],
input[type="email"],
input[type="url"],
input[type="tel"],
select,
textarea {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    font-size: 100%; 
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    padding-left: .5em;
    line-height: 1.15;
    min-height: 40px;
    min-width:0;
    width:auto;
    font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei";
}
input:focus, textarea:focus,select:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

input:hover, textarea:hover,select:hover {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 133, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 133, .6);
}

input[readonly], textarea[readonly],select[readonly]{
    background: #eeeeee;
    color: #000;
}

input[disabled], textarea[disabled],select[disabled]{
    background: #F0FFFF !important;
    color: #808080; !important;
}

textarea {
    padding-right: .5em;
    text-indent: 0;
    vertical-align: top;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}


input[type=text].error,input[type=password].error {
    background-image:
        url();
    background-repeat: no-repeat;
    background-position: 230px center;
    background-size: 15px 15px;
}